package com.fy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fy.pojo.entity.Email;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface EmailMapper extends BaseMapper<Email> {
    //根据邮箱获取邮箱详细信息
    @Select("select email_id from email where email.email=#{email};")
    Integer getEmailIdByEmail(String email);
}
